function f1 = fig_Astar(lambda_grid,A_star_grid,T,label_regions)
    
    f1 = figure('Units','inches','Position',[0 0 10 10]);
    style = {'-',':','-.','--','-*','-+'};

    n_lines = size(A_star_grid,2);
    for i = 1:n_lines
        plot(lambda_grid,A_star_grid(:,i),string(style(i)),'Color','k','LineWidth',2); hold on

    end

        legend_strings = 'Delay from t=' + string(1:T-1) + ' until t=' + string(2:T);
        leg = legend(legend_strings,'interpreter','latex','FontSize',20,'FontName','Times New Roman','Location','northeast');
        title(leg,'Boundary for delaying pregnancy by one period','Fontsize',20)

    

    xlabel('Child mortality rate $\lambda$','interpreter','latex','FontSize',20,'FontName','Times New Roman');
    ylabel('Preference for children $A$','interpreter','latex','FontSize',20,'FontName','Times New Roman');

    ax = gca;
    ax.FontSize = 20;
    ax.TickLabelInterpreter='latex';


end
